package com.test;

public class Context {
	RenderStack stack = new RenderStack();
	ScopeStack scops = new ScopeStack();
	
	public RenderStack getObjectStack() {
		return stack;
	}

	

	public ScopeStack getScops() {
		return scops;
	}

	public boolean isVisit(){
		Scope s = scops.peek();
		return s.isVisit;
	}
	
	public void  setVisit(){
		Scope s = scops.peek();
		s.isVisit = true;
	}
	
	
	
	
}
